package com.simple.space.modules.exportexcel.service.impl;

import com.simple.space.modules.base.dao.MyMapper;
import com.simple.space.modules.base.service.impl.BaseServiceImpl;
import com.simple.space.modules.exportexcel.mapper.ExportExcelTestMapper;
import com.simple.space.modules.exportexcel.pojo.Student;
import com.simple.space.modules.exportexcel.service.ExportExcelTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xiongzhenchuan
 * @date 2020/11/30 15:27
 * @description
 */
@Service
public class ExportExcelTestServiceImpl  extends BaseServiceImpl implements ExportExcelTestService {
    @Autowired
    private ExportExcelTestMapper mapper;

    @Override
    public MyMapper getMapper() {
        return mapper;
    }


    @Override
    public List<Student> exportStudent() {

        return mapper.selectAll();
    }
}
